package com.example.shopdemo.controller.dashboard;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-01-25
 **/
@Controller
@Slf4j
@RequestMapping("/dashboard")
public class DashBoardController {


    @RequestMapping("/index")
    public String index(){
        return "dashboard/index";
    }

    @RequestMapping("/shoplist")
    public String shoplist(){
        return "dashboard/shoplist";
    }

    @RequestMapping("/shopdetail")
    public String shopdetail(){
        return "dashboard/shopdetail";
    }

    @RequestMapping("/productdetail")
    public String productdetail(){
        return "dashboard/productdetail";
    }
}
